<?php if(!empty($post_list)):?>
<?php foreach($post_list as $skey=>$post):?>
<div class="grid share_list" id="share_list_<?php echo $post['id']?>" data-id="<?php echo $post['id']?>">
	<div class="img">
		<a href="javascript:void(0)" class="showDetail" data-id="<?php echo $post['id']?>"><img  data-id="<?php echo $post['id']?>" class="showDetail lazy" data-original="<?php echo Lib_Image::getPostImage($post['id'],$post['images'],260) ?>" /></a>
	</div>
	<div class="title clearfix">
		<a href="javascript:void(0)" title="<?php echo $post['title'];?>" class="title_info showDetail left" data-id="<?php echo $post['id']?>"><?php echo $post['title']?></a>
	</div>
	<div class="collbtn clearfix">
		<div class="collbtn_info">
	        <a class="right post_wish clearfix" href="javascript:void(0)" data-id="<?php echo $post['id']?>">
	           <span class="icon icon-wish wish"></span><span class="text"><?php echo $post['wish']?></span>
	        </a>
		</div>
    </div>
    <div class="list_btn clearfix"> 
    	<?php if(!empty($cuser)&&$cuser['userid']==$user_info['userid']):?>
    	<a class="left clearfix" href="javascript:void(0)">
		    <span class="icon icon-up"></span><span class="text"><?php echo $post['praiseup']?></span>
		</a>
		<?php else:?>
		<a class="left clearfix interact" href="javascript:void(0)" t="praiseup" data-id="<?php echo $post['id']?>">
		    <span class="icon icon-up"></span><span class="text"><?php echo $post['praiseup']?></span>
		</a>
		<?php endif;?>
		<a class="showDetail left clearfix" href="javascript:void(0)" data-id="<?php echo $post['id']?>">
		    <span class="icon icon-view"></span><span class="text"><?php echo $post['view']?></span>
		</a>
    </div>
</div>
<?php endforeach;?>
<?php endif;?>